package br.unipar.avaliacao;

public class Gasolina extends Combustivel {

    public Gasolina(int cargaHoraria) {
        super(cargaHoraria);
    }

    @Override
    public double calcularGastoComCombustivel() {
        return getLitrosDeCombustivel() * 2.70;
    }

}
